1 link tagged with all of: optimization + biology + multi agent rl + weakly electric fish
Click any tag below to further narrow down your results
Links
@daphnesolves on X
A developer ports the weakly electric fish multi-agent RL simulation from Python to C, using PufferLib, and gets training to about one million steps per second. The result is a strong fish policy trained in roughly 10 seconds, against 6 to 9 hours in the original setup.
- The C port started at about 40,000 steps per second, and switching most doubles to floats added roughly 30% more speed.
- Profiling showed electric-field calculations dominated runtime, so restricting sensor calculations to elements within each organ's short sensory range cut the work sharply.
- Final throughput reached 1.85 million simulation steps per second, against about 4,300 for the reference Python environment, and a 527-run sweep finished in 12 hours.
weakly electric fish
+ pufferlib
+ reinforcement learning
multi agent rl
+ simulation
biology
optimization